package com.loyal.loyalerp.service;

import java.util.List;
import java.util.Map;

import com.loyal.loyalerp.model.GyUserRole;

public interface UserRoleService {

    GyUserRole selectByPrimaryKey(Integer id);

    List<GyUserRole> listAll();
    
    int insertUserRole(GyUserRole gyUserRole);
    
    Map<String,Integer> getID(String username,String rolename,String name);
    
    public boolean EditRole(int id);
    
}
